﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class includes_myAccount : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void linkEditDrAccount_Click1(object sender, EventArgs e)
    {
        //Redirect page on doctorRegistration.aspx for edit the information of login doctor
        Session["pageFromOrAction"] = "Edit";
        Response.Redirect(Convert.ToString(Session["strHttps"]) + "doctor/doctorRegistration.aspx");
    }

    protected void lnkViewProfile_Click(object sender, EventArgs e)
    {
        localFunction obj = new localFunction();
        obj.GetDrInfo(false);
        // Response.Redirect("DoctorsDetails.aspx?id=" + Session["userid"].ToString());             
    }



    protected void linkEditDntAccount_Click1(object sender, EventArgs e)
    {
        //Redirect page on doctorRegistration.aspx for edit the information of login doctor        
        Session["pageFromOrAction"] = "Edit";
        Response.Redirect(Convert.ToString(Session["strHttps"]) + "dentist/DentistRegistration.aspx?id=" + Session["userid"].ToString());
    }

    protected void lnkViewDntProfile_Click(object sender, EventArgs e)
    {
        localFunction obj = new localFunction();
        obj.GetDentInfo(false);
        // Response.Redirect("DoctorsDetails.aspx?id=" + Session["userid"].ToString());             
    }
}